package com.ruoyi.huanghefd.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.huanghefd.domain.Makesheet;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.huanghefd.domain.Worksheet;
import com.ruoyi.huanghefd.utils.PageBean;

/**
 * 操作票服务
 */
public interface MakesheetService extends IService<Makesheet> {
    /**
     * @Author gnplum
     * @Description //新增操作票
     * @Date 9:35 2023/10/31
     * @param makesheets
     * @return com.ruoyi.huanghefd.domain.ResultWS
     **/
    AjaxResult addMakesheet(Makesheet makesheets);

    /**
     * @Author gnplum
     * @Description //删除操作票
     * @Date 15:18 2023/10/31
     * @param strMsCode
     * @return com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult delMakesheet(String strMsCode);

    /**
     * @Author gnplum
     * @Description //修改操作票
     * @Date 16:24 2023/10/31
     * @param makesheets
     * @return com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult uptMakesheet(Makesheet makesheets);

    /**
     * @Author gnplum
     * @Description //查询操作票
     * @Date 9:39 2023/10/31
     * @return com.ruoyi.huanghefd.domain.Worksheet
     **/
    AjaxResult queryMakesheets(String strMsCode, String strMsDept, String strMsState,String strUserId,String strMailType);
    /**
     * @Author gnplum
     * @Description //查询操作票 分页
     * @Date 9:39 2023/10/31
     * @return com.ruoyi.huanghefd.domain.Worksheet
     **/
    PageBean queryMakesheetsByPage(String strMsCode, String strMsDept, String strMsState, String strUserId, String strMailType, int pageNum, int pageSize);
}
